package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支付平台配置表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pay_platform_config")
public class PayPlatformConfig extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer Id;
    /**
     * 支付类型主键id
     */
    @TableField("pay_type_id")
    private Integer payTypeId;
    /**
     * 平台类型(0:app 1:webchat 2:pc)
     */
    @TableField("platform_type")
    private Integer platformType;
    /**
     * 是否展示(0:否 1:是)
     */
    @TableField("is_show")
    private Integer isShow;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;
    /**
     * 排序
     */
    private Integer sort;


}
